Skip to content

fix(@ngtools/webpack): use outDir for i18n extraction in Angular v5 #7702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2017

Conversation

ocombe
Copy link
Contributor

@ocombe ocombe commented Sep 15, 2017

From Angular v5 beta 7, the extraction script uses the new pipeline and genDir has been replaced by outDir. This fix ensures the compatibility with previous versions of Angular as well, which is why I haven't renamed the plugin parameter genDir to outDir (genDir was never related to the "genDir" option from the tsconfig file anyway since it uses the value from the cli parameter outputPath instead, or the app config root value by default).

Fixes angular/angular#19198

filipesilva
filipesilva previously approved these changes Sep 15, 2017
@filipesilva
Copy link
Contributor

LGTM, can confirm it works on the beta.7 a project. Thanks for fixing this @ocombe 👍

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Angular 5.0.0-beta.7 i18n extraction not working
4 participants